import React, { Component } from 'react';
import { formatDate } from '@/common/utils'

export default class SoonDesc extends Component {
  static propTypes = {};

  render() {
    let { item } = this.props;
    return (
      <div className="home-soon-desc fsb padd-15" style={{height:'0.35rem'}}>
        <p>{item.name}</p>
        <span className="r f12 orange">{formatDate(item.premiereAt)}上映</span>
      </div>
    );
  }
}
